<?php
namespace app\common\model;
use think\Model;
class Bis extends BaseModel{
    //通过状态获取商家数据
    public function getBisByStatus($status=0){
        
        $order=[
            
            "id"=>"desc",
        ];
        
        $data=[
            "status"=>$status,//审核商家
        ];
        
        $result=$this->where($data)->order($order)->paginate(1);
        return $result;
    }
    
    
}

